<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>上传文件</title>
</head>
<body>
    <form action="/pms_sa/upload/" method="post" enctype="multipart/form-data">
        {% csrf_token %}
    <input type="file" name="file"><br><br>
    <button>上传</button></form>
</body>
</html>